package com.jiazhong.basic.shuxin.thread.b;

public class App {

    public static void main(String[] args) {
        Broker broker = new Broker();
        Consumer consumer = new Consumer(broker);
        Product product = new Product(broker);
        new Thread(consumer).start();
        new Thread(product).start();
    }
}
